import request from '@/utils/request'

// 查询GdPayWithdrawWechat列表
export function listGdPayWithdrawWechat(query) {
    return request({
        url: '/api/v1/gdpaywithdrawwechat',
        method: 'get',
        params: query
    })
}

// 查询GdPayWithdrawWechat详细
export function getGdPayWithdrawWechat (ID) {
    return request({
        url: '/api/v1/gdpaywithdrawwechat/' + ID,
        method: 'get'
    })
}


// 新增GdPayWithdrawWechat
export function addGdPayWithdrawWechat(data) {
    return request({
        url: '/api/v1/gdpaywithdrawwechat',
        method: 'post',
        data: data
    })
}

// 修改GdPayWithdrawWechat
export function updateGdPayWithdrawWechat(data) {
    return request({
        url: '/api/v1/gdpaywithdrawwechat/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdPayWithdrawWechat
export function delGdPayWithdrawWechat(data) {
    return request({
        url: '/api/v1/gdpaywithdrawwechat',
        method: 'delete',
        data: data
    })
}

